﻿using FreeSql.DataAnnotations;
using Jumei.Common.BaseModel;
using System;

namespace Jumei.Model.Business.ShopsManage
{
    /// <summary>
    /// 店铺表
    /// </summary>
    [Table(Name = "sp_shop_accreds")]
    [Index("idx_{tablename}_01", nameof(ShopId), false)]
    public class ShopAccredsEntity : EntityFull, ITenant
    {
        /// <summary>
        /// 租户Id
        /// </summary>
        [Column(Position = -10)]
        public long? TenantId { get; set; }

        /// <summary>
        /// 认证ID
        /// </summary>
        public long AccredId { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public long ShopId { get; set; }

        public ShopsEntity Shops { get; set; }
    }
}
